package com.micro.service;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * Hello world!
 */
@EnableConfigServer
@EnableEurekaClient
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class ConfigServerApplication {
    //    http://localhost:8104/config/dev/
//    http://localhost:8102/config-server/actuator/bus-refresh    使用stream bus通知刷新，模拟webhook请求url
    public static void main(String[] args) {
        SpringApplication.run(ConfigServerApplication.class, args);
    }
}
